<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@include file="../../inner/head.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<style>
	body {
		margin:0px;
		padding:0px;
		height: 100%;
		width: 100%;
	}
iframe {width:100%;border:0px;}
</style>
<body>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
  		<tr valign="top">
	  		<td width="178px" height="100%">
	  			<c:if test="${param.type=='introduction' || param.type=='culture' || param.type=='news' || param.type=='newsdetail'}">
	  			  <iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/outer/news/left.jsp?type=${param.type}" id="left" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  			<c:if test="${param.type=='product' || param.type=='online' || param.type=='contactus' || param.type=='productchannel' || param.type=='information' || param.type=='search'}">
				  <iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/product?m=searchoutchannel" id="left" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  		</td>
	  		<td width="773px" height="100%">
	  			<c:if test="${param.type=='product'}">
					<iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/product?m=searchout" id="picmain" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  			<c:if test="${param.type=='online'}">
					<iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/outer/online/add.jsp" id="picmain" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  			<c:if test="${param.type=='contactus'}">
		  			<iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/outer/contactus/detail.jsp" id="picmain" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  			<c:if test="${param.type=='introduction'}">
		  			<iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/others?m=searchInt" id="picmain" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  			<c:if test="${param.type=='culture'}">
		  			<iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/others?m=searchCul" id="picmain" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  			<c:if test="${param.type=='productchannel'}">
		  			<iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/product?m=searchout&channelId=${param.channelId}" id="picmain" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  			<c:if test="${param.type=='news'}">
		  			<iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/news?m=searchforout" id="picmain" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  			<c:if test="${param.type=='newsdetail'}">
		  			<iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/news?m=findById&id=${param.id}&_url=outer/news/detail.jsp" id="picmain" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  			<c:if test="${param.type=='information'}">
		  			<iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/information?m=searchforout" id="picmain" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  			<c:if test="${param.type=='search'}">
		  			<iframe scrolling="no" frameborder="0" allowtransparency="true" src="${basepath}/product?m=searchout&proname=${param.name}" id="picmain" onload="this.height=this.contentWindow.document.body.scrollHeight"></iframe>
	  			</c:if>
	  		</td>
		</tr>
  	</table>
</body>
